package mmoon.mmoonstory.commands.equip;

import mmoon.mmoonstory.interfaces.InitCommand;
import net.minecraft.command.ICommandSender;
import net.minecraftforge.server.command.CommandTreeBase;

public class CommandEquip extends CommandTreeBase implements InitCommand {
    public CommandEquip(){
        this.addSubcommand(new CommandEquipHead());
        this.addSubcommand(new CommandEquipChest());
        this.addSubcommand(new CommandEquipLegs());
        this.addSubcommand(new CommandEquipFeet());
        this.init();
    }

    @Override
    public String getName() {
        return "equip";
    }

    @Override
    public String getUsage(ICommandSender sender) {
        return "equip head|chest|legs|feet";
    }
}
